package com.aaa.project.controller;


import com.aaa.project.service.ITbZoneService;
import com.aaa.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 专区 前端控制器
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-01-07
 */
@RestController
@RequestMapping("/tb-zone")
public class TbZoneController {
    @Resource
    private ITbZoneService iTbZoneService;
    @GetMapping("prefecture")
    public Result prefecture(){
        return new Result(iTbZoneService.find());
    }
}

